package com.njits.traffic.action.zhcx;
import java.io.PrintWriter;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts2.ServletActionContext;

import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;
import com.njits.traffic.action.zhcx.dao.*;

public class gcjlAction extends ActionSupport{
	public String execute() throws Exception {
		ActionContext ctx = ActionContext.getContext();         
		HttpServletRequest request = (HttpServletRequest)ctx.get(ServletActionContext.HTTP_REQUEST);
		ZhcxDao dao = new ZhcxDao();
		request.setAttribute("pointList",dao.getPointInfo());
		return SUCCESS;
	}
}
